﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Student
    {
        public int ID { get; set; }
        public string Name { get; set; }
        public int Age { get; set; }
        public override string ToString()
        {
            return $"学号:{ID},姓名:{Name},年龄:{Age}";
        }
        public Student() { }
        public Student(int id , string name , int age) 
        {
            this.ID = id;
            this.Name = name;
            this.Age = age;
        }
    }
}
